package com.sdx.console.answer.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.sdx.console.answer.entity.*;

/**
 * answer Dao
 */
@SqlResource("answer.answer")
public interface QaAnswerDao extends BaseMapper<QaAnswer>{
    public PageQuery<QaAnswer> queryByCondition(PageQuery query);
    public void batchDelQaAnswerByIds( List<String> ids);
    public void batchDelQaAnswerCommentByIds(List<String> ids);
}